home *** CD-ROM | disk | FTP | other *** search
/ Treccani Italiana Di Scienze Lettere Ed Arti / [Enciclopedia] Treccani Italiana di scienze lettere ed arti.iso / pc / data / xxi_appendice_dvd.swf / scripts / __Packages / CDirectorLemma.as < prev    next >
Text File  |  2007-11-08  |  1KB  |  42 lines

  1. class CDirectorLemma extends Object
  2. {
  3.    function CDirectorLemma(inId)
  4.    {
  5.       super();
  6.       this.id = inId;
  7.       this.indice = new Array();
  8.       this.media = new Array();
  9.       this.prospettive = new Array();
  10.    }
  11.    function AddIndiceRow(par_id, livello, titolo, titoloSommario, testo)
  12.    {
  13.       var _loc2_ = new Object();
  14.       _loc2_.parId = par_id;
  15.       _loc2_.livello = livello;
  16.       _loc2_.titolo = titolo;
  17.       _loc2_.titoloSommario = titoloSommario;
  18.       _loc2_.testo = testo;
  19.       this.indice.push(_loc2_);
  20.    }
  21.    function AddMediaRow(id, tipo, titolo, dida, filename, numero)
  22.    {
  23.       var _loc2_ = new CDirectorContributo(id);
  24.       _loc2_.SetContributo(id,tipo,titolo,dida,filename,numero);
  25.       this.media.push(_loc2_);
  26.    }
  27.    function AddProspettivaRow(id, tipo, titolo, filename, numeroImmagini, numeroClip, categoriaBreve)
  28.    {
  29.       var _loc2_ = new CDirectorProspettiva(id);
  30.       _loc2_.SetProspettiva(id,tipo,titolo,filename,numeroImmagini,numeroClip,categoriaBreve,"");
  31.       this.prospettive.push(_loc2_);
  32.    }
  33.    function free()
  34.    {
  35.       this.indice.splice(0);
  36.       this.media.splice(0);
  37.       this.prospettive.splice(0);
  38.       this.titolo = "";
  39.       this.abstract = "";
  40.    }
  41. }
  42.